package ysq.xyg.service;

import com.github.pagehelper.PageInfo;
import ysq.xyg.model.Leader;

import java.util.List;

public interface LeaderService extends BaseService<Leader> {

    /**
     * 分页查询
     */
    PageInfo<Leader> pageInfo(Leader leader, int pageSize, int pageNum);
    PageInfo<Leader> pageLeft(Leader leader, int pageSize, int pageNum);
    public List<Leader> list(Leader leader);
}
